Cognitoware.Robotics.dll
Interface ObservationGenerator<T>
T: The type of the obervation being generated.
Summary
Provides a method to generate values from an random number generator.
Method Summary
Creates a noisy value of type T based on some internal x of the implementing class.
Details
This interface provide a function similar to the Sample method on RandomDistribution.
This is used to generate sensor information in simulated environments.
The created values are generally not totally random, but are instead based
on the simulation x with error generated using the Random value.
Method Details
public virtual T CreateObservation(Random r)
Creates a noisy value of type T based on some internal x of the implementing class.
Parameters:
offset
- The random number generator used to add error to the x
Returns:
A value of type T reflecting the x of a simulated environment.